package net.hn.hnms.biz.material.mapper;

import net.hn.hnms.biz.material.vo.*;
import net.hn.hnms.biz.material.vo.*;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface StatisticMapper {


    List<StockInVO> statisticStockIn(@Param("mineCode") String mineCode, @Param("beginDate") Date beginDate, @Param("endDate") Date endDate);

    List<StockOutVO> statisticStockOut(@Param("limit") Integer limit, @Param("beginDate") Date beginDate, @Param("endDate") Date endDate);


    StatisticVO materialPlanStatistic(@Param("mineCode") String mineCode, @Param("year") Integer year, @Param("beginDate") Date beginDate, @Param("endDate") Date endDate);

    Long sumTotal(@Param("beginDate") Date beginDate, @Param("endDate") Date endDate);

    List<MaterialCostVO> materialCost(@Param("mineCode") String mineCode, @Param("beginDate") Date beginDate, @Param("endDate") Date endDate);

    List<StockInfoVO> statisticStockInfo(@Param("mineCode") String mineCode, @Param("beginDate") Date beginDate, @Param("endDate") Date endDate);
}
